/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package irc;

import java.util.ArrayList;

/**
 *
 * @author adrian
 */
public abstract class Channel {

    protected  String name = null;    
    protected  ArrayList<User> users = new ArrayList<User>();

    /**
     * @return the name
     */
    public String getName() {
        return name;
    }      

    /**
     * konstruktor
     */
    public Channel(){
        
    }
    
    /**
     * @param name nowa nazwa kanału
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @param names the users to set
     */
    public void setUsers(ArrayList<User> users) {
        this.users = users;
    }

    /**
     * @return the users
     */
    public ArrayList<User> getUsers() {
        return users;
    }
    
    
}
